﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrador/Administrador.Master" 
    AutoEventWireup="true" CodeBehind="consultarUsuarios.aspx.cs" 
    Inherits="TodoSuspensionWeb.consultarUsuarios" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style3
        {
            width: 168px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
<br />
<h2 style="color: #000000; width: 234px; margin-left: 264px; font-family: 'Copperplate Gothic Light'; font-size: large;">CONTROL DE USUARIOS</h2>

<asp:GridView ID="dgv_Usuarios" runat="server" 
        ForeColor="#333333" GridLines="None" 
        AutoGenerateSelectButton="True" CellPadding="4" HorizontalAlign="Center" 
        Width="760px" AutoGenerateColumns="False" 
        onselectedindexchanged="dgv_Usuarios_SelectedIndexChanged" 
        style="margin-top: 42px" AllowPaging="True" 
        onpageindexchanging="dgv_Usuarios_PageIndexChanging" PageSize="4">
    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    <Columns>
        <asp:BoundField DataField="Nombre" HeaderText="Nombre" >
        <ItemStyle HorizontalAlign="Center" />
        </asp:BoundField>
        <asp:BoundField DataField="Apellido" HeaderText="Apellido" >
        <ItemStyle HorizontalAlign="Center" />
        </asp:BoundField>
        <asp:BoundField DataField="UserName" HeaderText="Usuario" >
        <ItemStyle HorizontalAlign="Center" />
        </asp:BoundField>
        <asp:BoundField DataField="Email" HeaderText="Email" >
        <ItemStyle HorizontalAlign="Center" />
        </asp:BoundField>
    </Columns>
    <EditRowStyle BackColor="#999999" />
    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
    <SortedAscendingCellStyle BackColor="#E9E7E2" />
    <SortedAscendingHeaderStyle BackColor="#506C8C" />
    <SortedDescendingCellStyle BackColor="#FFFDF8" />
    <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
</asp:GridView>

<%--<asp:GridView ID="gdv_Usuarios2" runat="server" AutoGenerateColumns="False" Style="text-align: center"
                    AllowPaging="True" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None"
                    BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical" PageSize="5"
                    OnRowDeleting="gdv_oferta_RowDeleting"
                                onselectedindexchanged="gdv_oferta_SelectedIndexChanged" Width="760px" >
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:CommandField ShowSelectButton="True" />
                        <asp:CommandField ShowDeleteButton="True" />
                        <asp:ImageField DataImageUrlField="idOferta" 
                            DataImageUrlFormatString="ImageCSharp.aspx?ImageID={0}" HeaderText="IMAGEN"
                            ControlStyle-Width = "100" ControlStyle-Height = "100">
                        </asp:ImageField>
                        <asp:BoundField HeaderText="DESCRIPCION" DataField="descripcion" />
                        <asp:BoundField HeaderText="FECHA DESDE" DataField="fechaDesde"  DataFormatString="{0:d}" />
                        <asp:BoundField HeaderText="FECHA HASTA" DataField="fechaHasta"  DataFormatString="{0:d}" />
                        <asp:BoundField HeaderText="ESTADO" DataField="idEstado" />
                        <asp:BoundField HeaderText="PRECIO ORIGINAL" DataField="precioOriginal" />
                        <asp:BoundField HeaderText="DESCUENTO" DataField="descuento" />
                        <asp:BoundField DataField="precioPromocional" HeaderText="PRECIO PROMOCIONAL" />
                    </Columns>
                    <FooterStyle BackColor="#CCCC99" />
                    <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                    <RowStyle BackColor="#F7F7DE" />
                    <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#FBFBF2" />
                    <SortedAscendingHeaderStyle BackColor="#848384" />
                    <SortedDescendingCellStyle BackColor="#EAEAD3" />
                    <SortedDescendingHeaderStyle BackColor="#575357" />
                </asp:GridView>--%>

    

    <table style="width:97%; height: 207px; margin-top: 57px;">
        <tr>
            <td class="style3">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="Label1" runat="server" Text="Identificador"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtId" runat="server" Enabled="False"></asp:TextBox>
            </td>
            <td>
                <asp:CheckBox ID="cBoxHabilitar" runat="server" Text="Habilitar" />
            </td>
        </tr>
        <tr>
            <td class="style3">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="Label2" runat="server" Text="Nombre"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtNombre" runat="server" Enabled="False"></asp:TextBox>
            </td>
            <td>
                <asp:CheckBox ID="cBoxAdministrador" runat="server" Text="Administrador" />
            </td>
        </tr>
        <tr>
            <td class="style3">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="Label3" runat="server" Text="Apellido"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtApellido" runat="server" Enabled="False"></asp:TextBox>
            </td>
            <td>
                &nbsp;<asp:Button ID="btnModificar" runat="server" Text="Modicar" 
                    onclick="btnModificar_Click" Width="92px" />
            </td>
        </tr>
        <tr>
            <td class="style3">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="Label4" runat="server" Text="User"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtUser" runat="server" Enabled="False"></asp:TextBox>
            </td>
            <td></td>
        </tr>

        <tr>
            <td class="style3">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="Label5" runat="server" Text="Pass"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtPass" runat="server" Enabled="False"></asp:TextBox>
            </td>
            <td></td>
        </tr>
    </table>

</asp:Content>

